<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>添加展览类型</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='stylesheet' type='text/css' href='__PUBLIC__/Admin/css/admin_style.css' />
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/formValidator.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){
			window.top.art.dialog({content:msg,lock:true,width:250,height:100,ok:function(){$(obj).focus();}});
		}});
		$("#name").formValidator({onshow:"请输入展览类型名称",onfocus:"请输入展览类型名称"}).inputValidator({min:1,onerror:"展览类型名称必须填写"});
		$("#remark").formValidator({empty:true,onshow:"请输入展览类型描述",onfocus:"请输入展览类型描述"}).inputValidator({max:25,onerror:"描述不能超过25个字符,请确认"});
	});
</script>
</head>
<body>
		
			<form action="{:U('/Admin/Exhibition/type_add')}" method="post" name="form" id="myform">
			<table width="auto" border="0" cellpadding="4" cellspacing="1" class="table">
				<col width="180px"/>	
					<col/>
				<tr class="table_title">
					<td colspan="4">添加展览类型</td>
				</tr>

				<tr class="tr rt">
					<td width="100">展览类型名称：</td>
					<td colspan="3" class="lt">
						<input type="text" name="name" id="name" style="width:200px">
					</td>
				</tr>
				<tr class="tr rt">
					<td >展览类型状态：</td>
					<td colspan="3" class="lt">
						<input type="radio" class="radio" value="1" name="status" checked="">
							启用
							<input type="radio" class="radio" value="0" name="status">
							关闭
					</td>
				</tr>
				<tr class="tr rt">
					<td >备注说明：</td>
					<td colspan="3" class="lt">
						<input type="text" name="remark" id="remark" style="width:400px">
					</td>
				</tr>
	<tr class="tr lt">
		<td colspan="4">
				<input class="bginput" type="submit" name="dosubmit" value="添 加">
			&nbsp;
			<input class="bginput" type="button" onclick="javascript:history.back(-1);" value="返 回" ></td>
	</tr>
</table>
</form>
</body>
</html>